using StockholmsStad.Windows.UI.Modules.Minister.Interfaces;
using StockholmsStad.Windows.UI.Modules.Minister.Models;

namespace StockholmsStad.Windows.UI.Modules.Minister.Presenters
{
    public class MinisterDetailsPresenter : IMinisterDetailsPresenter
    {
        public MinisterDetailsPresenter(IMinisterDetailsView view)
        {
            View = view;
        }

        public IMinisterDetailsView View { get; set; }

        public void SetSelectedMinister(MinisterPresentationModel ministerModel)
        {
            var model = ministerModel;
            View.Model = model;
        }
    }
}
